From: Jasper St. Pierre Date: Mon, 26 Aug 2013 22:02:04 +0000 (-0400) Subject: loginDialog: Provide a finish method X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3614 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c59cf18337fc5eda1053dac6bc2c3c9438d6f6fb;p=gnome-shell.git loginDialog: Provide a finish method The screenShield expects to be able to call finish on the dialog. --- diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index c6c4f02d3..d1f3db342 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js @@ -921,5 +921,9 @@ const LoginDialog = new Lang.Class({ addCharacter: function(unichar) { this._authPrompt.addCharacter(unichar); }, + + finish: function(onComplete) { + this._authPrompt.finish(onComplete); + }, }); Signals.addSignalMethods(LoginDialog.prototype);